<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
  <meta charset="utf-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
  <title>大类资产配置模型---产品资产持仓详情</title>
  <link rel="stylesheet" href="../../assets/css/layui.css" />
  <link rel="stylesheet" href="../../assets/css/main.css" />
  <script src="../../assets/js/jquery-1.11.1.min.js"></script>
  <script src="../../assets/js/layui.js"></script>
  <script src="../../assets/js/vue.min.js"></script>
</head>

<body>
  <div id="app">
    <div class="layui-card tableCard">
      <div class="title-header">配置信息</div>
      <div class="layui-form form-box pt-20">
        <div class="layui-form-item">
          <label class="layui-form-label">理财产品：</label>
          <div class="layui-input-block">
            <input type="text" name="je" disabled="disabled" value="建行“乾元-众享”理财产品2018第2期" autocomplete="off" class="layui-input layui-input-md">
          </div>
        </div>
        <div class="layui-form-item">
          <label class="layui-form-label">配置方式：</label>
          <div class="layui-input-block select-md">
            <select id="u4754_input" lay-filter="pzfs" class="layui-input-md" disabled="disabled">
              <option value="请选择">请选择</option>
              <option selected="" value="自主投资">自主投资</option>
              <option value="委外投资">委外投资</option>
            </select>
          </div>
        </div>
        <div class="layui-form-item">
          <label class="layui-form-label">产品募集金额：</label>
          <div class="layui-input-inline">
            <input type="text" name="je" disabled="disabled" value="700,000" autocomplete="off" class="layui-input layui-input-md">
          </div>
          <div class="layui-form-mid layui-word-aux">万元</div>
        </div>
        <div class="tableBox pr-10 pl-10">
          <p class="table-title">产品配置资产：</p>
          <table cellspacing="0" cellpadding="0" border="0" class="layui-table editTable">
            <thead>
              <tr>
                <th width="200">资产类型(大类)</th>
                <th width="200">资产名称</th>
                <th width="150">配置金额(万元)</th>
                <th>资产配置比例</th>
                <th>资产价格</th>
                <th>企业名称</th>
                <th>备注</th>
                <th width="60">操作</th>
              </tr>
            </thead>
            <tr v-for="(item,index) in ArrData2" :key="index">
              <td>
                <select v-model="item.AssetClass" class="asset" lay-filter="AssetClass">
                  <option value="0">请选择</option>
                  <option value="1">非标准化债权类资产</option>
                  <option value="2">债券</option>
                  <option value="3">同业存款</option>
                  <option value="4">同业存单</option>
                  <option value="5">回购</option>
                </select>
              </td>
              <td>
                  <select v-model="item.AssetName" class="asset" lay-filter="AssetName">
                      <option value="0">请选择</option>
                      <option selected="" value="1" v-if="item.AssetClass==1">非标资产A1</option>
                      <option value="2" v-if="item.AssetClass==2">债券资产A1</option>
                      <option value="3" v-if="item.AssetClass==3">同业存款资产A1</option>
                      <option value="4" v-if="item.AssetClass==4">同业存单资产A1</option>
                      <option value="5" v-if="item.AssetClass==5">回购资产C1</option>
                      <option value="6" v-if="item.AssetClass==1">非标资产B1</option>
                      <option value="7" v-if="item.AssetClass==2">债券资产B1</option>
                      <option value="8" v-if="item.AssetClass==3">同业存款资产B1</option>
                      <option value="9" v-if="item.AssetClass==4">同业存单资产B1</option>
                      <option value="10" v-if="item.AssetClass==5">同业存单资产C2</option>
                      <option value="11" v-if="item.AssetClass==1">非标资产A2</option>
                      <option value="12" v-if="item.AssetClass==2">债券资产A2</option>
                      <option value="13" v-if="item.AssetClass==3">同业存款资产C1</option>
                      <option value="14" v-if="item.AssetClass==4">同业存单资产D1</option>
                      <option value="15" v-if="item.AssetClass==4">同业存单资产D2</option>
                    </select>
              </td>
              <td>
                <input type="text" name="'je_'+index" v-model="item.amount" autocomplete="off" class="layui-input layui-input-sm">
              </td>
              <td>{{item.proportion}}</td>
              <td>{{item.price}}</td>
              <td>{{item.CompanyName}}</td>
              <td>
                <div class="layui-table-cell">{{item.mark}}</div>
              </td>
              <td><button class="layui-btn layui-btn-normal layui-btn-xs" @click="del(index,2)">删除</button></td>
            </tr>
            <tr>
              <td><span class="add_span"><i class="layui-icon layui-icon-add-1"></i> 点击添加</span></td>
              <td></td>
              <td></td>
              <td></td>
              <td></td>
              <td></td>
              <td></td>
              <td></td>
            </tr>
            <tr>
              <td colspan="8">
                <p class="text-left pt-10">产品组合收益率：4.47%</p>
                <p class="text-left">理财产品已配置资产金额（万元）：700,000</p>
                <p class="text-left pb-10">理财产品剩余可配置金额（万元）：0</p>
              </td>
            </tr>
          </table>
          <div class="pt-20 pb-10">
              <button class="layui-btn layui-btn-normal  pr-40 pl-40">保存</button>
              <button class="layui-btn layui-btn-primary  pr-40 pl-40" @click="submitForm">返回</button>
          </div>
        </div>
      </div>
    </div>
  </div>
</body>
</html>
<script src="../../assets/js/modules/DLZCPZMX/CCXQ.js"></script>